package com.ltxtiyu.video.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 篮同学_token表
 * 
 * @version 1.0 2018-11-01
 */
public class TokenStore implements Serializable{
    /**
     * id
     */
    private Integer id;

    /**
     * user_id
     */
    private Integer userId;

    /**
     * oauth_token
     */
    private String oauthToken;

    /**
     * refresh_token
     */
    private String refreshToken;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * token访问来源
     */
    private String type;

    /**
     * id
     * @return 
     */
    public Integer getId() {
        return id;
    }

    /**
     * id
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * user_id
     * @return 
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * user_id
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * oauth_token
     * @return 
     */
    public String getOauthToken() {
        return oauthToken;
    }

    /**
     * oauth_token
     * @param oauthToken
     */
    public void setOauthToken(String oauthToken) {
        this.oauthToken = oauthToken;
    }

    /**
     * refresh_token
     * @return 
     */
    public String getRefreshToken() {
        return refreshToken;
    }

    /**
     * refresh_token
     * @param refreshToken
     */
    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    /**
     * 创建时间
     * @return 
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 创建时间
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * token访问来源
     * @return 
     */
    public String getType() {
        return type;
    }

    /**
     * token访问来源
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }
}